package com.gdpu.common;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
*
* Json数据实体类
* @Author hjs
*
* */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DataGridView {     //LayUI返回的数据格式

    private Integer code = 0;
    private String msg = "";
    //返回的记录总条数
    private Long count=0L;
    private Object data;

    public DataGridView(Long count, Object data) {
        this.count = count;
        this.data = data;
    }

    public DataGridView(Object data) {
        this.data = data;
    }
}
